package Work4.Slay_the_Maze.Map;

import Work4.Slay_the_Maze.Events.*;

public class Rooms {
	private int x;
	private int y;
	private boolean isvisited;  //是否访问过
	private boolean isAvailable;  //是否可通过
	private Events event;
	private String MapIcon;
	public Rooms() {
		isvisited=false;
		isAvailable=false;
	}
	public String getMapIcon() {
		return MapIcon;
	}
	public void setMapIcon(String mapIcon) {
		MapIcon = mapIcon;
	}
	public int getX() {
		return x;
	}
	public boolean isIsvisited() {
		return isvisited;
	}
	public void setIsvisited(boolean isvisited) {
		this.isvisited = isvisited;
	}
	public boolean isAvailable() {
		return isAvailable;
	}
	public void setAvailable(boolean isAvailable) {
		this.isAvailable = isAvailable;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	public Events getEvent() {
		return event;
	}
	public void setEvent(Events event) {
		this.event = event;
	}
	
}
